<foreach name="favourite_goods" item="v" key="k">
<li>
     <a href="{:U('Mobile/Goods/goodsInfo',array('id'=>$v[goods_id],'u_id'=>$user))}" title="{$v.goods_name}">
     <div class="index_pro">
	       <div class="products_kuang">
	         <img src="{$v.goods_id|goods_thum_images=400,400}"></div>
	       <div class="goods_name">{$v.goods_name}</div>
	       <div class="price">
	         <a href="javascript:AjaxAddCart({$v[goods_id]},1,0);" class="btns">
	             <img src="__STATIC__/images/index_flow.png">
	         </a>
	       <span href="{:U('Mobile/Goods/goodsInfo',array('id'=>$v[goods_id],'u_id'=>$user))}" class="price_pro">￥{$v.price}</span>
	       </div>
      </div>
     </a>
    <div class="z-time"><div class="jstimerBox{$v[goods_id]}"></div></div>
     <script>
     ///
     Tday['{$v[goods_id]}'] = new Date('{$v.end_time|date="Y/m/d H:i:s",###}');  
     window.setInterval(function()    
     {
       //alert(clock11('{$v[goods_id]}'))
       $('.jstimerBox{$v[goods_id]}').html(clock11('{$v[goods_id]}'));
       //document.getElementById('jstimerBox{$v[goods_id]}').innerHTML=clock11('{$v[goods_id]}');
     }, 1000);  
     </script> 
</li>
</foreach>